home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / crc2.doc < prev    next >
Text File  |  1995-03-31  |  1KB  |  35 lines

  1. (Comp.sys.handhelds) 
  2. Item: 1283 by cloos at acsu.buffalo.edu 
  3. Author: [James H. Cloos] 
  4.   Subj: An rpl version of KCRC 
  5.   Date: Thu Nov 29 1990 07:56  
  6.  
  7. Please find enclosed a RPL version of KCRC.  The usage is the same as 
  8. for the previously posted userlang version.  The algorithms used here 
  9. are the same; all that is different is that I went thru and changed 
  10. each occurance of a usrlang command with the routine that the given 
  11. command calls after confirming the required args are on the stack. 
  12. The XTIME routine in Jim Donnelly's toolkit says this takes about half 
  13. the time as the usrlang version.  This actually uses xSTARTVAR (aka 
  14. FOR) rather than the true RPL looping routines as I don't have the 
  15. info on exactly how to use the true RPL looping routines, and also as 
  16. I would need the addresses of the RPL commands that do multiplication, 
  17. xor, et. al. on shorts. 
  18.  
  19. In a future article, I'll go thru the motions of how I did this. 
  20.  
  21. Also, you'll note that if there isn't a string on level 1, you'll get 
  22. an error message that says "XLIB 3152 116 error:".  I believe that if 
  23. you put this into a library, that error message would replace 
  24. the "XLIB 3152 116" with the program's name.  I've not tested this yet, 
  25. though. 
  26.  
  27. Enjoy. 
  28.  
  29. -JimC 
  30. -- 
  31. James H. Cloos, Jr.        Phone:  +1 716 673-1250 
  32. cloos@ACSU.Buffalo.EDU          Snail:  PersonalZipCode:  14048-0772, 
  33. USA 
  34. cloos@ub.UUCP              Quote:  <> 
  35.